package com.cr.sync.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.io.Serializable;

/**
 * 远程数据-主体信息对象 tb_sync_main_body_info
 * 
 * @author tang
 * @date 2025-08-29
 */
public class TbSyncMainBodyInfo implements Serializable {
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 主体名称 */
    private String bodyName;

    /** 主体属性(1 生产主体 2 屠宰场 3 生鲜乳企业 4 投入品经营主体 5 加工企业) */
    private String subjectAttribute;

    /** 主体行业(1.种植业、2.畜牧业、3.水产业、4.其他行业) */
    private String business;

    /** 两品一标产品认证 1绿色、2有机、3地理标志、4区域公用品牌、5名特优新 */
    private String certifiedProduct;

    /** 企业类型( 1 企业/个体工商户 2. 合作社 3. 家庭农场 4.  个体小散户 5种植大户 6其它) */
    private String enterpriseType;

    /** 行政区划名称 */
    private String area;

    /** 行政区划代码 */
    private String areaCode;

    /** 地址 */
    private String address;

    /** 经纬度（经度和纬度  以,分隔） */
    private String coordinate;

    /** 种养产品（机构名下的种植和养殖 产品名称） */
    private String farmingProduct;

    /** 种养规模 */
    private String farmingScale;

    /** 种养规模单位（吨、亩、头、尾、羽、只、其他） */
    private String farmingUnit;

    /** 统一社会信用代码 */
    private String orgCode;

    /** 法人名称 */
    private String corpName;

    /** 联系人名称 */
    private String contactName;

    /** 0-正常，1-已注销，3-已停产 */
    private String cancel;

    /** 1-国家级，2-省市级，3-地市级 */
    private String corporateChampion;

    /** 营业期限 示例（2021-01-01~长期 或 2017-03-24~2047-03-23） */
    private String businessTerm;

    /** 联系人电话 */
    private String contactPhone;

    /** 国家示范 0是 1 否 */
    private String nationalDemonstration;

    /** 商标  1=驰名、2=著名、3=知名 */
    private String trademark;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setBodyName(String bodyName) 
    {
        this.bodyName = bodyName;
    }

    public String getBodyName() 
    {
        return bodyName;
    }

    public void setSubjectAttribute(String subjectAttribute) 
    {
        this.subjectAttribute = subjectAttribute;
    }

    public String getSubjectAttribute() 
    {
        return subjectAttribute;
    }

    public void setBusiness(String business) 
    {
        this.business = business;
    }

    public String getBusiness() 
    {
        return business;
    }

    public void setCertifiedProduct(String certifiedProduct) 
    {
        this.certifiedProduct = certifiedProduct;
    }

    public String getCertifiedProduct() 
    {
        return certifiedProduct;
    }

    public void setEnterpriseType(String enterpriseType) 
    {
        this.enterpriseType = enterpriseType;
    }

    public String getEnterpriseType() 
    {
        return enterpriseType;
    }

    public void setArea(String area) 
    {
        this.area = area;
    }

    public String getArea() 
    {
        return area;
    }

    public void setAreaCode(String areaCode)
    {
        this.areaCode = areaCode;
    }

    public String getAreaCode()
    {
        return areaCode;
    }

    public void setAddress(String address) 
    {
        this.address = address;
    }

    public String getAddress() 
    {
        return address;
    }

    public void setCoordinate(String coordinate) 
    {
        this.coordinate = coordinate;
    }

    public String getCoordinate() 
    {
        return coordinate;
    }

    public void setFarmingProduct(String farmingProduct) 
    {
        this.farmingProduct = farmingProduct;
    }

    public String getFarmingProduct() 
    {
        return farmingProduct;
    }

    public void setFarmingScale(String farmingScale) 
    {
        this.farmingScale = farmingScale;
    }

    public String getFarmingScale() 
    {
        return farmingScale;
    }

    public void setFarmingUnit(String farmingUnit) 
    {
        this.farmingUnit = farmingUnit;
    }

    public String getFarmingUnit() 
    {
        return farmingUnit;
    }

    public void setOrgCode(String orgCode) 
    {
        this.orgCode = orgCode;
    }

    public String getOrgCode() 
    {
        return orgCode;
    }

    public void setCorpName(String corpName) 
    {
        this.corpName = corpName;
    }

    public String getCorpName() 
    {
        return corpName;
    }

    public void setContactName(String contactName) 
    {
        this.contactName = contactName;
    }

    public String getContactName() 
    {
        return contactName;
    }

    public void setCancel(String cancel) 
    {
        this.cancel = cancel;
    }

    public String getCancel() 
    {
        return cancel;
    }

    public void setCorporateChampion(String corporateChampion) 
    {
        this.corporateChampion = corporateChampion;
    }

    public String getCorporateChampion() 
    {
        return corporateChampion;
    }

    public void setBusinessTerm(String businessTerm) 
    {
        this.businessTerm = businessTerm;
    }

    public String getBusinessTerm() 
    {
        return businessTerm;
    }

    public void setContactPhone(String contactPhone) 
    {
        this.contactPhone = contactPhone;
    }

    public String getContactPhone() 
    {
        return contactPhone;
    }

    public void setNationalDemonstration(String nationalDemonstration) 
    {
        this.nationalDemonstration = nationalDemonstration;
    }

    public String getNationalDemonstration() 
    {
        return nationalDemonstration;
    }

    public void setTrademark(String trademark) 
    {
        this.trademark = trademark;
    }

    public String getTrademark() 
    {
        return trademark;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("bodyName", getBodyName())
            .append("subjectAttribute", getSubjectAttribute())
            .append("business", getBusiness())
            .append("certifiedProduct", getCertifiedProduct())
            .append("enterpriseType", getEnterpriseType())
            .append("area", getArea())
            .append("areaCode", getAreaCode())
            .append("address", getAddress())
            .append("coordinate", getCoordinate())
            .append("farmingProduct", getFarmingProduct())
            .append("farmingScale", getFarmingScale())
            .append("farmingUnit", getFarmingUnit())
            .append("orgCode", getOrgCode())
            .append("corpName", getCorpName())
            .append("contactName", getContactName())
            .append("cancel", getCancel())
            .append("corporateChampion", getCorporateChampion())
            .append("businessTerm", getBusinessTerm())
            .append("contactPhone", getContactPhone())
            .append("nationalDemonstration", getNationalDemonstration())
            .append("trademark", getTrademark())
            .toString();
    }
}
